package Baitap01;

public class Parallelogram_Entity {
	double Chieucao;
	double Canhday;
	double Canhben;
	

	public double Area(Parallelogram_Entity objEntity){
		return objEntity.getChieucao()* objEntity.getCanhday();
	}
	
	public double Perimeter(Parallelogram_Entity objEntity){
		
		return (objEntity.getCanhday()*objEntity.getCanhben())*2;
		
	}
	
	public double getChieucao() {
		return Chieucao;
	}

	public void setChieucao(double chieucao) {
		Chieucao = chieucao;
	}

	public double getCanhday() {
		return Canhday;
	}

	public void setCanhday(double canhday) {
		Canhday = canhday;
	}
	
	public double getCanhben() {
		return Canhben;
	}

	public void setCanhben(double canhben) {
		Canhben = canhben;
	}
}
